package com.bt.table.ppt;

/**
 * Bis_pathiId entity. @author MyEclipse Persistence Tools
 */

public class Bis_pathiId implements java.io.Serializable {

	// Fields

	private String path_id;
	private String path_ver;

	// Constructors

	/** default constructor */
	public Bis_pathiId() {
	}

	/** full constructor */
	public Bis_pathiId(String path_id, String path_ver) {
		this.path_id = path_id;
		this.path_ver = path_ver;
	}

	// Property accessors

	public String getPath_id() {
		return this.path_id;
	}

	public void setPath_id(String path_id) {
		this.path_id = path_id;
	}

	public String getPath_ver() {
		return this.path_ver;
	}

	public void setPath_ver(String path_ver) {
		this.path_ver = path_ver;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Bis_pathiId))
			return false;
		Bis_pathiId castOther = (Bis_pathiId) other;

		return ((this.getPath_id() == castOther.getPath_id()) || (this
				.getPath_id() != null && castOther.getPath_id() != null && this
				.getPath_id().equals(castOther.getPath_id())))
				&& ((this.getPath_ver() == castOther.getPath_ver()) || (this
						.getPath_ver() != null
						&& castOther.getPath_ver() != null && this
						.getPath_ver().equals(castOther.getPath_ver())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result
				+ (getPath_id() == null ? 0 : this.getPath_id().hashCode());
		result = 37 * result
				+ (getPath_ver() == null ? 0 : this.getPath_ver().hashCode());
		return result;
	}

}